


class demo(object):
    def __init__(self):
        self.name = '李四'
    def __setattr__(self, key, value):
        print('__setattr__' + str(value))
    pass;

dd = demo()
dd.name = '哈哈说说'
dd.age = 99





